package com.yang.frost.blueberry.service.impl;

import com.yang.frost.blueberry.domain.SysRole;
import com.yang.frost.blueberry.mapper.SysRoleMapper;
import com.yang.frost.blueberry.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 10296
 * @date 2021/1/25
 * @Description:
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public SysRole getById(Long roleId) {
        return sysRoleMapper.getSysRoleById(roleId);
    }


}
